import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class AboutPage extends StatefulWidget {
  const AboutPage({Key key}) : super(key: key);

  @override
  _AboutPageState createState() => _AboutPageState();
}

class _AboutPageState extends State<AboutPage> {

var textstyle1 = TextStyle(fontWeight: FontWeight.w600);
var textstyle2 = TextStyle(fontWeight: FontWeight.w600,fontSize:20,color:Colors.black87);
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        elevation: 0,
        backgroundColor: Colors.transparent,
        iconTheme: IconThemeData(
          color: Colors.black54
        ),
      ),
      body: ListView(
        
        children: [
          
          Center(child: Image.asset('assets/images/common/logo.png',width: 150,)),
          
          Center(child: Text('巢',style: textstyle2,)),
          Center(child: Text('Version 2.0.5')),
          Padding(
            padding: const EdgeInsets.only(left:32,right:32),
            child: Divider(),
          ),
          Padding(
            padding: const EdgeInsets.only(left:32,right:32),
            child: Row(
              children: [
                Text('功能介绍',style: textstyle1),
                Spacer(),
                Icon(Icons.arrow_forward_ios,size: 16,color: Colors.black45,),
               
              ],
            ),
          ),
          Padding(
            padding: const EdgeInsets.only(left:32,right:32),
            child: Divider(),
          ),
           Padding(
            padding: const EdgeInsets.only(left:32,right:32),
            child: Row(
              children: [
                Text('投诉',style: textstyle1),
                Spacer(),
                Icon(Icons.arrow_forward_ios,size: 16,color: Colors.black45,),
              ],
            ),
          ),
          Padding(
            padding: const EdgeInsets.only(left:32,right:32),
            child: Divider(),
          ),
           Padding(
            padding: const EdgeInsets.only(left:32,right:32),
            child: Row(
              children: [
                Text('检查版本更新',style: textstyle1),
                Spacer(),
                Icon(Icons.arrow_forward_ios,size: 16,color: Colors.black45,),
              ],
            ),
          ),
           Padding(
            padding: const EdgeInsets.only(left:32,right:32),
            child: Divider(),
          ),
        ],
      ),
    );
  }
}
